# yourproject/routing.py

from channels.routing import ProtocolTypeRouter, URLRouter
from django.urls import path
from shanhaijing_test import consumers

websocket_urlpatterns = [
    path('ws/a/', consumers.ShanhaijingConsumer.as_asgi()),
]
